*{
  margin: 0;
  padding: 0;
  user-select: none;
}

body{
  width:100vw;
  height: 100vh;
  display: flex;
  background-image: linear-gradient(135deg,#f3f3f3,#888);
  justify-content: center;
  align-items: center;
}

.container{
  width: 90%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;

  .block{
    width: 350px;
    height: auto;
    margin: 0 50px;
    background-color: #fff;
    transition: .5s ease;
    
    .title{
      position: relative;
      width: 100%;
      height: 200px;
      background-color: #00c7fe;
      display: flex;
      justify-content: center; 
      align-items: center;
      font: 52px '楷体';
      font-weight: bold;
      color: #fff; 
      
      &::after{
        content:'';
        position: absolute;
        left: 0;
        top: -15px;
        width: 100%;
        height: 15px;
        background-color: #00c0f6;
        transform-origin:bottom ;
        transform: skewX(45deg);
      }

      &::before{
        content:'';
        position: absolute;
        left: -15px;
        top: 0;
        width: 15px;
        height: 200px;
        background-color: #01a5d3;
        transform-origin:right ;
        transform: skewY(45deg);
        box-shadow: 0 200px 0 rgba(0,0,0,.15);
      }
    }

    .content{
      position: relative;
      box-sizing: border-box;
      width: 100%;
      height: 200px;
      padding: 10px;
      font-size: 16px;
      background-color: #fff;

      &::before{
        content:'';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 350px;
        height: 200px;
        background: linear-gradient(transparent,transparent,rgba(0,0,0,.1));
        transform-origin:bottom ;
        transform:translate(-15px,-15px) skewX(45deg);
        pointer-events: none;
        transition: .5s;
        z-index: -1;
      }

      &::first-letter{
        font-size: 24px;
        margin-left: 32px;
      }
    }

    &:hover{
      transform: translateY(-40px);
    }

    &:hover .content::before{
      transform: translate(-40px,-40px) skewX(45deg);
      filter: blur(4px);
      opacity: .8;
    }

    & .block:nth-child(1){
      z-index: 3;
    }
    & .block:nth-child(1){
      z-index: 2;
    }
    & .block:nth-child(1){
      z-index: 1;
    }
  }
}